package com.dts.mapper;

import com.dts.entity.Website;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface WebsiteMapper {
    void addWebsite(Website website);
    List<Website> selectAllWebsite();
    @Select("select * from website where id = #{id}")
    Website findById(Integer id);
    List<Website> selectByIds(List<Integer> ids);
    List<Website> selectByCondition(Website website);
    void updateWebsite(Website website);
    void deleteWebsite(Integer id);
    void deleteWebsiteByIds(List<Integer> ids);
}
